projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33aa61e
)
showrendernode: Resize window to a reasonable size instead
author
Timm Bäder
<mail@baedert.org>
Thu, 16 Nov 2017 20:10:09 +0000
(21:10 +0100)
committer
Timm Bäder
<mail@baedert.org>
Thu, 21 Dec 2017 18:12:30 +0000
(19:12 +0100)
tests/showrendernode.c
patch
|
blob
|
history
diff --git
a/tests/showrendernode.c
b/tests/showrendernode.c
index 0db38279af732ff75a6230cd309de3072f0b63e4..64ba75e7d4ab1eba158592b579ebdfe05abf4403 100644
(file)
--- a/
tests/showrendernode.c
+++ b/
tests/showrendernode.c
@@
-115,7
+115,7
@@
main (int argc, char **argv)
}
gsk_render_node_get_bounds (GTK_NODE_VIEW (nodeview)->node, &node_bounds);
- gtk_window_resize (GTK_WINDOW (window), node_bounds.size.width, node_bounds.size.height);
+ gtk_window_resize (GTK_WINDOW (window),
600, 500);//
node_bounds.size.width, node_bounds.size.height);
g_signal_connect (window, "delete-event", G_CALLBACK (gtk_main_quit), NULL);
gtk_widget_show (window);